
$GetDBFrameworkVersionClass = New-PSClass GetDBFrameworkVersion -Inherit $PSSqlCommandClass{

	Constructor {
		Base $Args[0] $Args[1]
		
		$this.Command.CommandType = [System.Data.CommandType]::Text
		$this.Command.CommandText = "SELECT [DBFramework].[Version] ()"
	}

    method Execute {
		$this.Command.ExecuteScalar()
	}
}

